package com.he.hsdyc.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class Recharge implements Serializable {
    /**
     * 
     */
    private Long id;

    /**
     * 学生id
     */
    private Long stuId;

    /**
     * 充值金额
     */
    private BigDecimal money;

    /**
     * 充值类型;1-手动；2-套餐
     */
    private Integer type;

    /**
     * 操作人id
     */
    private Long operatorId;

    /**
     * 学校id
     */
    private Long schoolId;

    /**
     * 赠送金额
     */
    private BigDecimal presentMoney;

    /**
     * 备注
     */
    private String remark;

    /**
     * 创建时间
     */
    private Date createAt;

    /**
     * 安全密码
     */
    private String safePwd;

    public String getSafePwd() {
        return safePwd;
    }

    public void setSafePwd(String safePwd) {
        this.safePwd = safePwd;
    }

    /**
        * 套餐id
     */
    private Long packageId;

    public Long getPackageId() {
        return packageId;
    }

    public void setPackageId(Long packageId) {
        this.packageId = packageId;
    }




    /**
     * 渠道:1-个人充值；2-校方充值；3-课程转入
     */
    private Integer channel;

    /**
     * 到账状态：1-已到账；2-等待到账
     */
    private Integer accountProgress;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getStuId() {
        return stuId;
    }

    public void setStuId(Long stuId) {
        this.stuId = stuId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public BigDecimal getPresentMoney() {
        return presentMoney;
    }

    public void setPresentMoney(BigDecimal presentMoney) {
        this.presentMoney = presentMoney;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    public Integer getAccountProgress() {
        return accountProgress;
    }

    public void setAccountProgress(Integer accountProgress) {
        this.accountProgress = accountProgress;
    }

    private String code;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}